package com.ets.Codes_DAO;

import java.util.ArrayList;

/*------------------------------------------------------------------------------
 <big><b>CodeValueIO</b></big> interface, that defines the methods available for
 use with the <big><b>CodeValue</b></big> object
 <br><br>
 @author D.Merkling - 1:33:38 PM - Aug 22, 2011
 <br><br>
 @version 1.0  
------------------------------------------------------------------------------*/
public interface CodeValueIO
  {
   // CodeValue reader methods
   CodeValue            getCodeValue        (String Sys, String Sgmt, String Cd);
   ArrayList<CodeValue> getCodeValues       ();
   ArrayList<CodeValue> getCodeValuesByType (String Sys, String Sgmt);
   boolean              existsCode          (String Sys, String Sgmt, String Cd);
	
   // CodeValue writer methods
   boolean addCodeValue    (CodeValue cv);
   boolean updateCodeValue (CodeValue cv);
   boolean deleteCodeValue (CodeValue cv);
  }
